package com.douyin.video.mapper;

import com.douyin.video.entity.DouyinVideo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.douyin.video.view.DouyinVideoView;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;

import org.apache.ibatis.annotations.Param;

/**
 *
 * 抖音视频
 *
 *
 * @author djianfeng
 * @since 2018-08-27
 */
public interface DouyinVideoMapper extends BaseMapper<DouyinVideo> {

  List<DouyinVideoView> getDouyinVideoViews(Page<DouyinVideoView> page, @Param("view")DouyinVideoView view);
  
  DouyinVideoView queryDouyinVideoByUrl(String url);
   
  boolean delDouyinVideo(Long id);
}
